<html>
<body>
 <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US" type="text/javascript"></script>
 <script type="text/javascript">FB.init("308d78855fa29b2fbde10bfbbff5e03a","../xd_receiver.htm");</script>
 <fb:login-button v="2" size="medium" onlogin="window.location = 'name.php';" >Connect with Facebook</fb:login-button>

<fb:profile-pic uid="loggedinuser" size="square" facebook-logo="true"></fb:profile-pic>
<fb:name uid="loggedinuser" useyou="false" linked="true"></fb:name>


</body>
</html>